package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import com.atguigu.spzx.model.vo.product.CategoryExcelVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    List<Category> selectByParentId(Long parentId);

    Long countChildrenById(Long id);

    void insertCategory(List<CategoryExcelVo> categoryExcelVoList);

    List<Category> findAll();

}
